import json
import logging


class FileUitls:
    @classmethod
    def file_read(cls, file_path):
        with open(file_path, mode='r', encoding='utf-8') as f:
            json_str = f.read()
            # print(json_str) # 这个级别很低
            logging.debug(f'文件的内容是{json_str}')
            json_list = json.loads(json_str)
            data_list = []
            for i in json_list:
                logging.debug(i)
                data_list.append(i.values())
            return data_list









